package com.zoweunion.mechanic.model;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ResponseBean {

	// http 状态码
    private int code;

    // 返回信息

    private String message;

    // 返回的数据
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Object data;
    

    public ResponseBean() {
	}

	public ResponseBean(int code, String message, Object data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
	
}
